import aima.core.search.framework.GoalTest;


public class Puzle8GoalTest implements GoalTest {
	
	EstadoPuzle8 goal = new EstadoPuzle8(new int[]{0,1,2,3,4,5,6,7,8},0);
	
	public boolean isGoalState(Object state) {
		EstadoPuzle8 estado = (EstadoPuzle8) state;
		return estado.equals(goal);
	}
	
}
